package com.zhkjnet.zhyy.dao;

import com.zhkjnet.zhyy.entity.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminDao {

    void save(Admin admin);

    Admin findByPhoneAndPassword(@Param("phone") String phone, @Param("password") String password);

    void update(Admin admin);

    List<Admin> findAll();

}
